package httpproxy.dto;

import javax.servlet.http.HttpServletRequest;

import org.apache.http.client.methods.CloseableHttpResponse;
import org.springframework.web.bind.annotation.RequestMethod;

public class RequestDto {
	HttpServletRequest request;
	RequestMethod requestMethod;
	CloseableHttpResponse response;

	public CloseableHttpResponse getResponse() {
		return response;
	}

	public void setResponse(CloseableHttpResponse response) {
		this.response = response;
	}

	public HttpServletRequest getRequest() {
		return request;
	}

	public void setRequest(HttpServletRequest request) {
		this.request = request;
	}

	public RequestMethod getRequestMethod() {
		return requestMethod;
	}

	public void setRequestMethod(RequestMethod requestMethod) {
		this.requestMethod = requestMethod;
	}

	@Override
	public String toString() {
		return "RequestDto [request=" + request + ", requestMethod=" + requestMethod + ", response=" + response + "]";
	}

}
